package com.wenwei.bean;

/**
 * Created by nidalee on 2017/10/16.
 */

public class ThreadLoginBean {


    /**
     * id : 56
     * username : 13111111111
     * password : $2a$10$Urv.uo0bdIFosbvA2C5cTOawcnPYuDMnHsITFAlY4yID6fpZqVaRi
     * authorities : user
     * profile : {"id":49,"userId":null,"balance":null,"nickname":null,"avator":null,"sex":null,"carName":null,"carNumber":null}
     * threeToken : 1
     * status : 0
     * last_password_reset : 1508148965085
     * remember_token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMzExMTExMTExMSIsImF1ZGllbmNlIjoid2ViIiwiY3JlYXRlZCI6MTUwODE0ODk2NTA4NCwiZXhwIjoxNTA4NzUzNzY1fQ.GBjfc_5NfOAxsOd_pN3UcDwRWu6pjHJv-cv8hl--twHQIc-fNDZi98U4Y-qH9Qee9g9hNHYciBhYES1cQxmlzw
     * created_time : null
     * updated_time : null
     * deleted_time : null
     */

    private int id;
    private String username;
    private String password;
    private String authorities;
    private ProfileBean profile;
    private String threeToken;
    private int status;
    private long last_password_reset;
    private String remember_token;
    private Object created_time;
    private Object updated_time;
    private Object deleted_time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public ProfileBean getProfile() {
        return profile;
    }

    public void setProfile(ProfileBean profile) {
        this.profile = profile;
    }

    public String getThreeToken() {
        return threeToken;
    }

    public void setThreeToken(String threeToken) {
        this.threeToken = threeToken;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getLast_password_reset() {
        return last_password_reset;
    }

    public void setLast_password_reset(long last_password_reset) {
        this.last_password_reset = last_password_reset;
    }

    public String getRemember_token() {
        return remember_token;
    }

    public void setRemember_token(String remember_token) {
        this.remember_token = remember_token;
    }

    public Object getCreated_time() {
        return created_time;
    }

    public void setCreated_time(Object created_time) {
        this.created_time = created_time;
    }

    public Object getUpdated_time() {
        return updated_time;
    }

    public void setUpdated_time(Object updated_time) {
        this.updated_time = updated_time;
    }

    public Object getDeleted_time() {
        return deleted_time;
    }

    public void setDeleted_time(Object deleted_time) {
        this.deleted_time = deleted_time;
    }

    public static class ProfileBean {
        /**
         * id : 49
         * userId : null
         * balance : null
         * nickname : null
         * avator : null
         * sex : null
         * carName : null
         * carNumber : null
         */

        private int id;
        private Object userId;
        private Object balance;
        private Object nickname;
        private Object avator;
        private Object sex;
        private Object carName;
        private Object carNumber;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getUserId() {
            return userId;
        }

        public void setUserId(Object userId) {
            this.userId = userId;
        }

        public Object getBalance() {
            return balance;
        }

        public void setBalance(Object balance) {
            this.balance = balance;
        }

        public Object getNickname() {
            return nickname;
        }

        public void setNickname(Object nickname) {
            this.nickname = nickname;
        }

        public Object getAvator() {
            return avator;
        }

        public void setAvator(Object avator) {
            this.avator = avator;
        }

        public Object getSex() {
            return sex;
        }

        public void setSex(Object sex) {
            this.sex = sex;
        }

        public Object getCarName() {
            return carName;
        }

        public void setCarName(Object carName) {
            this.carName = carName;
        }

        public Object getCarNumber() {
            return carNumber;
        }

        public void setCarNumber(Object carNumber) {
            this.carNumber = carNumber;
        }
    }
}
